﻿@model IEnumerable<Backend.JYD.Model.Bid.BidRecord>

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th></th>
        <th>
            BidId
        </th>
        <th>
            InviteId
        </th>
        <th>
            UserId
        </th>
        <th>
            LoanMoney
        </th>
        <th>
            Term
        </th>
        <th>
            Rate
        </th>
        <th>
            Remark
        </th>
        <th>
            Type
        </th>
        <th>
            Status
        </th>
        <th>
            CreateTime
        </th>
        <th>
            UpdateTime
        </th>
        <th>
            OpId
        </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
        </td>
        <td>
            @item.BidId
        </td>
        <td>
            @item.InviteId
        </td>
        <td>
            @item.UserId
        </td>
        <td>
            @String.Format("{0:F}", item.LoanMoney)
        </td>
        <td>
            @item.Term
        </td>
        <td>
            @String.Format("{0:F}", item.Rate)
        </td>
        <td>
            @item.Remark
        </td>
        <td>
            @item.Type
        </td>
        <td>
            @item.Status
        </td>
        <td>
            @String.Format("{0:g}", item.CreateTime)
        </td>
        <td>
            @String.Format("{0:g}", item.UpdateTime)
        </td>
        <td>
            @item.OpId
        </td>
    </tr>
}

</table>

